package Day19;

public class Method {
    public static void main(String[] args) {
        A a = new A();
       /* boolean flag = a.AA(8);
        if(flag == true){
            System.out.println("是偶数");
        }else{
            System.out.println("是奇数");
        }
*/
        a.printArr(11,12,'$');

    }



}

class A {
    public static boolean AA(int num) {
        if ((num % 2) == 0) {
            return true;
        } else {
            return false;
        }
    }

    public static void printArr(int num, int col, char c){
        for(int i = 0; i < num; i++){
            for(int j = 0; j < col;j++){
                System.out.print(c);
            }
            System.out.println();
        }
    }

}